MENUINFO (Structures)
Last changed: -82.77.126.3

.
Summary
TODO - a short description

C# Definition:

[StructLayout(LayoutKind.Sequential)]

struct MENUINFO {

    public Int32 cbSize;
    public Int32 fMask;
    public Int32 dwStyle;
    public Int32 cyMax;
    public IntPtr hbrBack;
    public Int32 dwContextHelpID;
    public Int32 dwMenuData;
    } ;

VB Definition:

    Private Structure MENUINFO
    Dim cbSize As Int32
    Dim fMask As Int32
    Dim dwStyle As Int32
    Dim cyMax As Int32
    Dim hbrBack As IntPtr
    Dim dwContextHelpID As Int32
    Dim dwMenuData As Int32
    Public Sub New(ByVal owner As Control)
        cbSize = Marshal.SizeOf(GetType(MENUINFO))
    End Sub
    End Structure

User-Defined Field Types:

None.

Notes:

None.

Sample Code:

MENUINFO mi = new MENUINFO();

mi.cbSize = System.Runtime.InteropServices­.Marshal.SizeOf(typeof(MENUINF­O));

Documentation
MENUINFO on MSDN